const http=require('http')
const app=http.createServer()
app.on('request',(req,res)=>{
    res.end('<h1>Hello World</h1>')
})
app.listen(3000,()=>{
    console.log("server is running...");
})